package com.hyg.oa.leave.mapper;

import com.hyg.oa.leave.model.Leave;
import java.util.List;
import java.util.Map;

public interface LeaveMapper {

	Leave findById(String id);
    
    List<Leave> findAll();

	void save(Leave leave);

	void update(Leave leave);

	void delete(String id);

	List<Leave> findPage(Map<String,Object> params);
	
	Long findTotalCount();
}
